package org.jmh.org.mapper;

import org.jmh.auth.domain.Menu;
import org.jmh.auth.dto.RoleDTO;
import org.jmh.base.mapper.BaseMapper;
import org.jmh.org.domain.Employee;

import java.util.List;


public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee selectByName(String username);

    List<Menu> getMenuByEmpId(Long id);

    void auth1(RoleDTO roleDTO);

    List<Long> queryRoleById(Long id);

    void deleteAuth1(Long id);
}
